package com.wit.witmg.entity;

import lombok.Data;

import java.io.PrintWriter;
import java.net.Socket;

@Data
public class DeviceSession {
    public Integer sbid;
    public Socket socket;
    public PrintWriter writer;
//    public String pendingCommandId; // 当前等待的命令ID

    public DeviceSession(Integer sbid, Socket socket,
                         PrintWriter writer) {
        this.sbid = sbid;
        this.socket = socket;
        this.writer = writer;
    }


//    public void clearPendingCommand() {
//        this.pendingCommandId = null;
//    }
}